import { constantRoutes } from "@/router/index";
export default{
    namespaced:true,
    state(){
        menuList:[...constantRoutes]
    },
    mutations:{
        undateMenuList(state,asyncRoutes){
            state.menuList = [...constantRoutes, ...asyncRoutes]
        }
    }
}